﻿using UnityEngine;
using System.Collections;

public class ESC_key : MonoBehaviour {

	// Use this for initialization
	void Update () {

		if (Input.GetKey (KeyCode.Escape))
		
		{

			Application.LoadLevel("MainMenu");
		
		}
		Highscore.SaveHighScore ();
	}
	
}